package org.com.suit.domain;

import org.springframework.stereotype.Component;

@Component
public class Relation {
	
	private int no;
	private int followingNo;
	private String followingName;
	
	
	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}
	public int getFollowingNo() {
		return followingNo;
	}
	public void setFollowingNo(int followingNo) {
		this.followingNo = followingNo;
	}
	public String getFollowingName() {
		return followingName;
	}
	public void setFollowingName(String followingName) {
		this.followingName = followingName;
	}
	@Override
	public String toString() {
		return "Relation [no=" + no + ", followingNo=" + followingNo
				+ ", followingName=" + followingName + "]";
	}
	
		
}
